package com.augurit.gzcgwsp.rqqyjyxk.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.augurit.gzcgwsp.rqqyjyxk.dao.YwRqQyjyxkFinalRqssylbDao;
import com.augurit.gzcgwsp.rqqyjyxk.entity.YwRqQyjyxkFinalRqssylb;
import com.augurit.gzcgwsp.rqqyjyxk.service.IYwRqQyjyxkFinalRqssylbService;
/**
 * 
 * <P>title:最终数据从业人员service实现类</p>																								
 * <P>Description：</p>
 * <p>Copyright: Copyright (c) 2011 augurit</p>
 * <p>Company: 广州奥格智能科技</p>
 * History：
 * @author:zhangjun
 * @date Oct 15, 2011
 * @version 1.0
 */
@Service("rqssylbService")
@Transactional
public class YwRqQyjyxkFinalRqssylbServiceImpl   implements IYwRqQyjyxkFinalRqssylbService{
	@Autowired
	private YwRqQyjyxkFinalRqssylbDao rqssylbDao;

    public List<YwRqQyjyxkFinalRqssylb> getInfosByQyid(Long qyid) {
       String  sql=" from "+ YwRqQyjyxkFinalRqssylb.class.getName()+" where qyid='"+qyid+"'";
        return rqssylbDao.find(sql);
    }

    public void saveEntity(YwRqQyjyxkFinalRqssylb finalentity) {
        rqssylbDao.save(finalentity);
    }



    

}
